package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.PMansong;

import java.util.List;

@DBMapper
public interface PMansongMapper {
    int deleteByPrimaryKey(Integer mansongId);

    int insert(PMansong record);

    int insertSelective(PMansong record);

    PMansong selectByPrimaryKey(Integer mansongId);

    int updateByPrimaryKeySelective(PMansong record);

    int updateByPrimaryKey(PMansong record);

    List<PMansong> findListByCondition(PMansong record);

    PMansong getPMansongWithRules(Integer mansongId);

    List<PMansong> findListWithRuleByCondition(PMansong record);
}